{{if $value['value']==1}}
<div class="layui-form-item">
    <label class="layui-form-label">{{$value['desc']}}</label>
    <div class="layui-input-block">
        <input type="checkbox" checked="" name="{{$value['name']}}" lay-skin="switch" lay-filter="switchTest" lay-text="{{$value['option'][0]}}|{{$value['option'][1]}}">
        <br><span style="color: red">{{$value['tagging']}}</span>
    </div>
</div>
{{else}}
<div class="layui-form-item">
    <label class="layui-form-label">{{$value['desc']}}</label>
    <div class="layui-input-block">
        <input type="checkbox" name="{{$value['name']}}" lay-skin="switch" lay-text="{{$value['option'][0]}}|{{$value['option'][1]}}">
        <br><span style="color: red">{{$value['tagging']}}</span>
    </div>
</div>
{{/if}}